function concaturl(url) {
    return window.RPConfig.mgt.concat(`/${url}`);
}

  // 获取模版信息
export const getTemplateDetail = params => {
    return $http.post(concaturl(`template/detail?templateId=${params.templateId}`),params).then(response => response.data);
}